<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script>
					function aa(arr){
						var b=[];
						var j=0;
						for(var i=0;i<arr.length;i++){
							if(arr[i]<30){
								b[j]=arr[i];
								console.log(b[j]);
								j=j+1;
							}
						}
					}
					var a =[10,20,30,40,50];
					aa(a);
				</script>
	</head>
	<body>
	</body>
</html>
